package com.kuke.kukegenerator.generator;

import com.baomidou.mybatisplus.annotation.DbType;

public class ConfigManage {

    /**
     * 数据库连接信息
     */
    public static String dbUrl = "jdbc:mysql://192.178.10.201:3308/testMyBatisPlus?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true";
    public static String driver = "com.mysql.cj.jdbc.Driver";
    public static String userName = "root";
    public static String password = "Kukewang@2021";

    /**
     * 指定生成的表名。如果想生成整个库的，这里设为null即可
     */
    /*public static String[] tableNames = new String[]{
            "tb_resource",
            "t_order"
    };*/


    public static String[] tableNames = new String[]{"user"
    };

    /**
     * 指定包名
     */
    public static String packageName = "com.test";

    /**
     * 作者名
     */
    public static String author = "kuke";

    /**
     * 数据库类型
     */
    public static DbType dbType = DbType.MYSQL;

    /**
     * 输出路径（当前为项目根目录下）
     */
    public static String outputDir = System.getProperty("user.dir") + "/mybatis-plus-generator/generator-files";


    /**
     * service接口是否以I开头
     */
    public static boolean serviceNameStartWithI = false;

    /**
     * controller基础类
     */
    public static String superControllerClass = packageName + ".common.BaseController";

    /**
     * entity基础类
     */
    public static String superEntityClass = packageName + ".common.BaseEntity";

    /**
     * 模块名 如果有模块名，则需在模块名前加. 例：.log
     */
    public static String moduleName = "";


}
